package com.mixcus.server.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result implements Serializable {

    private Boolean flag;

    private String message;

    private Object data;

    public Result(Boolean flag, String message) {
        this.flag = flag;
        this.message = message;
    }

}